home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Utilities / ctc 1.6 / ctcInit.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-01-02  |  648 b   |  29 lines  |  [TEXT/KAHL]

  1. #include <Gestalt.h>
  2. #include <pascal.h>
  3. #include <Menus.h>
  4. #include <Files.h>
  5. #include <Folders.h>
  6. #include <Fonts.h>
  7. #include <Dialogs.h>
  8. #include <Memory.h>
  9. #include <SegLoad.h>
  10. #include <BDC.h>
  11. #include <OSUtils.h>
  12. #include "ctc.h"
  13.  
  14. /* Tells the Dialog Manager that there is an edit line in this dialog, and */ 
  15. /* it should track and change to an I-Beam cursor when over the edit line */
  16. pascal OSErr SetDialogTracksCursor(DialogPtr theDialog, Boolean tracks)
  17.     = { 0x303C, 0x0306, 0xAA68 };
  18.  
  19.  
  20. void InitMacintosh()
  21. {
  22.     InitGraf(&thePort);
  23.     InitFonts();
  24.     InitWindows();
  25.     InitMenus();
  26.     TEInit();
  27.     InitCursor();
  28.     InitDialogs(nil);
  29. }    /* End of () */